package com.venutech.gongan.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 巡检对象 tb_work
 * 
 * @author linxb
 * @date 2023-09-18
 */
public class TbWork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @Excel(name = "工单id")
    private Long wkId;

    private Long wkOrderId;

    /**  */
    //@Excel(name = "工单类型")
    private Long wkType;

    /**  */
    //@Excel(name = "")
    private Long wkSqUserId;

    /**  */
    @Excel(name = "工单内容")
    private String wkContent;

    /**  */
    //@Excel(name = "")
    private Long wkGwId;

    /**  */
    //@Excel(name = "")
    private Long wkSbId;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wkSqTime;
    @Excel(name = "申请人")
    private String wkSqUserName;
    /**  */
    @Excel(name = "工单状态")
    private Long wkState;

    /**  */
    //@Excel(name = "")
    private Long wkSpUserId;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wkSpTime;
    @Excel(name = "审批人")
    private String wkSpUserName;
    /**  */
    //@Excel(name = "")
    private String wkPpciture1;

    /**  */
    //@Excel(name = "")
    private String wkPpciture2;

    /**  */
    //@Excel(name = "")
    private String wkPpciture3;

    /**  */
    @Excel(name = "申请区域行政编码")
    private String wkAreaCode;

    /**  */
    @Excel(name = "故障类型")
    private Long faultType;
    @Excel(name = "工单种类")
    private Integer wkOrderType;

    private Long opWorkId;
    @Excel(name = "取流方式")
    private String  flowMethod;

    @Excel(name = "杆件名称")
    private String wkGwName;
    @Excel(name = "设备名称")
    private String wkSbName;
    @Excel(name = "网络状态")
    private String networkStatus;
    @Excel(name = "图像诊断")
    private String imageDiagnosis;
    @Excel(name = "录像故障检测")
    private String videoFaultDetection;
    @Excel(name = "数据异常")
    private String dataException;


    private String exportSqTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startWkSqTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endWkSqTime;

    public String getExportSqTime() {
        return exportSqTime;
    }

    public void setExportSqTime(String exportSqTime) {
        this.exportSqTime = exportSqTime;
    }

    public Date getStartWkSqTime() {
        return startWkSqTime;
    }

    public void setStartWkSqTime(Date startWkSqTime) {
        this.startWkSqTime = startWkSqTime;
    }

    public Date getEndWkSqTime() {
        return endWkSqTime;
    }

    public void setEndWkSqTime(Date endWkSqTime) {
        this.endWkSqTime = endWkSqTime;
    }

    public String getWkSqUserName() {
        return wkSqUserName;
    }

    public void setWkSqUserName(String wkSqUserName) {
        this.wkSqUserName = wkSqUserName;
    }

    public String getWkGwName() {
        return wkGwName;
    }

    public void setWkGwName(String wkGwName) {
        this.wkGwName = wkGwName;
    }

    public String getWkSbName() {
        return wkSbName;
    }

    public void setWkSbName(String wkSbName) {
        this.wkSbName = wkSbName;
    }

    public String getWkSpUserName() {
        return wkSpUserName;
    }

    public void setWkSpUserName(String wkSpUserName) {
        this.wkSpUserName = wkSpUserName;
    }

    public String getFlowMethod() {
        return flowMethod;
    }

    public void setFlowMethod(String flowMethod) {
        this.flowMethod = flowMethod;
    }

    public Integer getWkOrderType() {
        return wkOrderType;
    }

    public void setWkOrderType(Integer wkOrderType) {
        this.wkOrderType = wkOrderType;
    }

    public Long getOpWorkId() {
        return opWorkId;
    }

    public void setOpWorkId(Long opWorkId) {
        this.opWorkId = opWorkId;
    }

    public void setWkId(Long wkId)
    {
        this.wkId = wkId;
    }

    public Long getWkId() 
    {
        return wkId;
    }
    public void setWkType(Long wkType) 
    {
        this.wkType = wkType;
    }

    public Long getWkType() 
    {
        return wkType;
    }
    public void setWkSqUserId(Long wkSqUserId) 
    {
        this.wkSqUserId = wkSqUserId;
    }

    public Long getWkSqUserId() 
    {
        return wkSqUserId;
    }
    public void setWkContent(String wkContent) 
    {
        this.wkContent = wkContent;
    }

    public String getWkContent() 
    {
        return wkContent;
    }
    public void setWkGwId(Long wkGwId) 
    {
        this.wkGwId = wkGwId;
    }

    public Long getWkGwId() 
    {
        return wkGwId;
    }
    public void setWkSbId(Long wkSbId) 
    {
        this.wkSbId = wkSbId;
    }

    public Long getWkSbId() 
    {
        return wkSbId;
    }
    public void setWkSqTime(Date wkSqTime) 
    {
        this.wkSqTime = wkSqTime;
    }

    public Date getWkSqTime() 
    {
        return wkSqTime;
    }
    public void setWkState(Long wkState) 
    {
        this.wkState = wkState;
    }

    public Long getWkState() 
    {
        return wkState;
    }
    public void setWkSpUserId(Long wkSpUserId) 
    {
        this.wkSpUserId = wkSpUserId;
    }

    public Long getWkSpUserId() 
    {
        return wkSpUserId;
    }
    public void setWkSpTime(Date wkSpTime) 
    {
        this.wkSpTime = wkSpTime;
    }

    public Date getWkSpTime() 
    {
        return wkSpTime;
    }
    public void setWkPpciture1(String wkPpciture1) 
    {
        this.wkPpciture1 = wkPpciture1;
    }

    public String getWkPpciture1() 
    {
        return wkPpciture1;
    }
    public void setWkPpciture2(String wkPpciture2) 
    {
        this.wkPpciture2 = wkPpciture2;
    }

    public String getWkPpciture2() 
    {
        return wkPpciture2;
    }
    public void setWkPpciture3(String wkPpciture3) 
    {
        this.wkPpciture3 = wkPpciture3;
    }

    public String getWkPpciture3() 
    {
        return wkPpciture3;
    }
    public void setWkAreaCode(String wkAreaCode) 
    {
        this.wkAreaCode = wkAreaCode;
    }

    public String getWkAreaCode() 
    {
        return wkAreaCode;
    }
    public void setFaultType(Long faultType) 
    {
        this.faultType = faultType;
    }

    public Long getFaultType() 
    {
        return faultType;
    }

    public Long getWkOrderId() {
        return wkOrderId;
    }

    public void setWkOrderId(Long wkOrderId) {
        this.wkOrderId = wkOrderId;
    }

    public String getNetworkStatus() {
        return networkStatus;
    }

    public void setNetworkStatus(String networkStatus) {
        this.networkStatus = networkStatus;
    }

    public String getImageDiagnosis() {
        return imageDiagnosis;
    }

    public void setImageDiagnosis(String imageDiagnosis) {
        this.imageDiagnosis = imageDiagnosis;
    }

    public String getVideoFaultDetection() {
        return videoFaultDetection;
    }

    public void setVideoFaultDetection(String videoFaultDetection) {
        this.videoFaultDetection = videoFaultDetection;
    }

    public String getDataException() {
        return dataException;
    }

    public void setDataException(String dataException) {
        this.dataException = dataException;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wkId", getWkId())
            .append("wkType", getWkType())
            .append("wkSqUserId", getWkSqUserId())
            .append("wkContent", getWkContent())
            .append("wkGwId", getWkGwId())
            .append("wkSbId", getWkSbId())
            .append("wkSqTime", getWkSqTime())
            .append("wkState", getWkState())
            .append("wkSpUserId", getWkSpUserId())
            .append("wkSpTime", getWkSpTime())
            .append("wkPpciture1", getWkPpciture1())
            .append("wkPpciture2", getWkPpciture2())
            .append("wkPpciture3", getWkPpciture3())
            .append("wkAreaCode", getWkAreaCode())
            .append("faultType", getFaultType())
                .append("wkOrderId", getWkOrderId())
                .append("networkStatus", getNetworkStatus())
                .append("imageDiagnosis", getImageDiagnosis())
                .append("videoFaultDetection", getVideoFaultDetection())
                .append("dataException", getDataException())
            .toString();
    }
}
